package com.zxj.system.domain.user.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * 用户 VO
 *
 * @author zxj2022
 * @date 2025/01/01
 */
@Getter
@Setter
@Schema(description = "用户信息响应 VO")
public class UserVO {

    /** 用户 ID */
    @JsonSerialize(using = ToStringSerializer.class)
    @Schema(description = "用户 ID")
    private Long userId;

    /** 昵称 */
    @Schema(description = "昵称")
    private String nickName;

    /** 性别, 1: 男, 2: 女 */
    @Schema(description = "性别, 1: 男, 2: 女")
    private Integer sex;

    /** 电话 */
    @Schema(description = "电话")
    private String phone;

    /** 电子邮件 */
    @Schema(description = "电子邮件")
    private String email;

    /** 微信 */
    @Schema(description = "微信")
    private String wechat;

    /** 学校名称 */
    @Schema(description = "学校名称")
    private String schoolName;

    /** 专业名称 */
    @Schema(description = "专业名称")
    private String majorName;

    /** 介绍 */
    @Schema(description = "介绍")
    private String introduce;

    /** 用户状态 0: 拉黑  1：正常 */
    @Schema(description = "用户状态 0: 拉黑  1：正常")
    private Integer status;
}
